<!DOCTYPE html>
<@compress single_line=isCompress>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>流量APP管理平台 - 配置管理</title>

    <link href="${root}/assets/common/images/icons/favicon.ico" rel="shortcut icon">
    <!--Loading bootstrap css-->
    <link type="text/css"
          href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,800italic,400,700,800">
    <link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Oswald:400,700,300">
    <link type="text/css" rel="stylesheet"
          href="${root}/assets/common/vendors/jquery-ui-1.10.3.custom/css/ui-lightness/jquery-ui-1.10.3.custom.css">
    <link type="text/css" rel="stylesheet"
          href="${root}/assets/common/vendors/font-awesome/css/font-awesome.min.css">
    <link type="text/css" rel="stylesheet" href="${root}/assets/common/vendors/bootstrap/css/bootstrap.min.css">
    <!--LOADING SCRIPTS FOR PAGE-->
    <link type="text/css" rel="stylesheet"
          href="${root}/assets/common/vendors/jquery-news-ticker/jquery.news-ticker.css">
    <link type="text/css" rel="stylesheet"
          href="${root}/assets/common/vendors/jquery-jvectormap/jquery-jvectormap-1.2.2.css">
    <!--Loading style vendors-->
    <link type="text/css" rel="stylesheet" href="${root}/assets/common/vendors/animate.css/animate.css">
    <link type="text/css" rel="stylesheet" href="${root}/assets/common/vendors/jquery-pace/pace.css">
    <!--Loading style-->
    <link type="text/css" rel="stylesheet" href="${root}/assets/common/css/style.css">
    <link type="text/css" rel="stylesheet" href="${root}/assets/common/css/vendors.css">
    <link type="text/css" rel="stylesheet" href="${root}/assets/common/css/themes/white-pink.css" id="color-style">
    <link type="text/css" rel="stylesheet" href="${root}/assets/common/css/style-responsive.css">
    <link type="text/css" rel="stylesheet" href="${root}/assets/common/vendors/validator/jquery.validator.css">

    <link rel="shortcut icon" href="${root}/assets/common/images/favicon.ico">

    <#include "/pager/common/quote.ftl" />
</head>
<body>
    <#include "/pager/biz-logic/include/top.ftl" />
<div id="page-wrapper"><!--BEGIN PAGE HEADER & BREADCRUMB-->
    <div class="page-header-breadcrumb hide">
        <div class="page-heading hidden-xs"><h1 class="page-title">BLog Dashboard</h1></div>
        <ol class="breadcrumb page-breadcrumb">
            <li><i class="fa fa-home"></i>&nbsp;<a href="index.html">首页</a>&nbsp;&nbsp;<i class="fa fa-angle-right"></i>&nbsp;&nbsp;
            </li>
            <li><a href="#">系统管理</a>&nbsp;&nbsp;<i class="fa fa-angle-right"></i>&nbsp;&nbsp;</li>
            <li class="active">数据字典</li>
        </ol>
    </div>
    <!--END PAGE HEADER & BREADCRUMB--><!--BEGIN CONTENT-->
    <div class="page-content">
        <div id="tab-general">
            <div class="row">
                <div class="col-lg-12">
                    <div class="portlet">
                        <div class="portlet-header">
                            <div class="caption">数据字典</div>
                        </div>
                        <div class="portlet-body">
                            <div class="table-tools">
                            	<div class="row" style="margin-left:2px;margin-right:2px;" >
									<div class="form-inline pull-left">
                                        <button id="newConfig" type="button" data-target="#modal-prompt" data-toggle="modal" class="btn btn-primary mrs"><i class="fa fa-plus"></i>&nbsp; 新建</button>
									</div>
								</div>
                               	<form onsubmit="return false;" id="searchForm" class="search-form form-inline">
                                   	<div class="row" style="margin-left:2px;margin-right:2px;margin-top:8px">
										<input type="text" name="cfgId" placeholder="ID" class="form-control"/>
										<input type="text" name="parentCfg" placeholder="P_ID" class="form-control"/>
										<select name="status" class="form-control">
											<option value="">==请选择状态==</option>
											<@config type="options" key="PUBLIC_STATUS" />
										</select>
										<input type="submit" class="btn btn-primary mrs" id="searchButton" value="查询" />
                                   	</div>
                               	</form>
                            </div>
                            <div class="table-responsive mtl">
                                <table id="datatable" cellpadding="0" cellspacing="0" border="0"
                                       class="table table-striped table-bordered table-hover">
                                    <thead>
                                    <th width="10%">ID</th>
                                    <th width="10%">KEY</th>
                                    <th width="10%">VAL</th>
                                    <th width="20%">描述</th>
                                    <th width="10%">P_ID</th>
                                    <th width="5%">P_KEY</th>
                                    <th width="10%">排序</th>
                                    <th width="10%">状态</th>
                                    <th width="20%">操作</th>
                                    </thead>
                                </table>
                                <div>
                                </div>
                            </div>
                            <div class="modal fade" id="confEditDialog" tabindex="-1" role="dialog"
                                 aria-labelledby="myModalLabel" aria-hidden="true">
                                <div class="modal-dialog" style="width: 400px;">
                                    <div class="modal-content">
                                        <div class="modal-header">
                                            <button type="button" class="close" data-dismiss="modal"
                                                    aria-hidden="true">×
                                            </button>
                                            <h4 class="modal-title">
                                                编辑用户
                                            </h4>
                                        </div>
                                        <div class="modal-body">
                                            <form id="confEditForm" class="form-horizontal" method="post"
                                                  onsubmit="return false;" style="width: 350px;">
                                                <div class="form-group">
                                                    <label for="cfgId" class="col-sm-3 control-label">ID：<span style="color: #ff0000">*</span></label>

                                                    <div class="col-sm-8">
                                                        <input type="text" class="form-control" name="cfgId" id="cfgId"
                                                               maxlength="30"/>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label for="cfgKey"
                                                           class="col-sm-3 control-label">KEY：<span style="color: #ff0000">*</span></label>

                                                    <div class="col-sm-8">
                                                        <input type="text" class="form-control" name="cfgKey" id="cfgKey"
                                                               maxlength="30"/>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label for="cfgVal"
                                                           class="col-sm-3 control-label">VAL：<span style="color: #ff0000">*</span></label>

                                                    <div class="col-sm-8">
                                                        <input type="text" class="form-control" name="cfgVal" id="cfgVal"
                                                               maxlength="50"/>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label for="remark" class="col-sm-3 control-label">描述：</label>

                                                    <div class="col-sm-8">
                                                        <input type="text" class="form-control" name="remark" id="remark"
                                                               maxlength="50"/>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label for="parentCfg" class="col-sm-3 control-label">P_ID：</label>

                                                    <div class="col-sm-8">
                                                        <input type="text" class="form-control" name="parentCfg" id="parentCfg"
                                                               maxlength="50"/>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label for="parentKey" class="col-sm-3 control-label">P_KEY：</label>

                                                    <div class="col-sm-8">
                                                        <input type="text" class="form-control" name="parentKey" id="parentKey"
                                                               maxlength="50"/>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-sm-3 control-label">状态：</label>

                                                    <div class="col-sm-8">
                                                        <label class="radio-inline">
                                                            <input type="radio" name="status" value="1" checked="checked"/>
                                                            <label>正常</label>
                                                        </label>
                                                        <label class="radio-inline">
                                                            <input type="radio" name="status" value="0"/>
                                                            <label>停用</label>
                                                        </label>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label for="sort" class="col-sm-3 control-label">排序：</label>

                                                    <div class="col-sm-8">
                                                        <input type="text" class="form-control" name="sort" id="sort"
                                                               maxlength="50"/>
                                                    </div>
                                                </div>
                                            </form>
                                        </div>
                                        <div class="modal-footer">
                                            <button type="button" class="btn btn-default" id="closeBtn" data-dismiss="modal">
                                                关闭
                                            </button>
                                            <button type="button" class="btn btn-primary" id="saveBtn">
                                                保存
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
    <#include "/pager/biz-logic/include/bot.ftl" />
</@compress>